package com.efast.cafe.portal.service.base.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.efast.cafe.framework.service.CafeServiceImpl;
import com.efast.cafe.portal.dao.base.BaseCountryDao;
import com.efast.cafe.portal.entity.base.BaseCountry;
import com.efast.cafe.portal.remote.base.BaseCountryService;
import com.efast.cafe.portal.service.base.IBaseCountryService;

@Service
@Transactional
public class BaseCountryServiceImpl extends CafeServiceImpl<BaseCountry> implements IBaseCountryService {

	
	private BaseCountryDao  baseCountryDao;
	
	
	@Autowired
	public void setBaseCountryDao(BaseCountryDao baseCountryDao) {
		this.baseCountryDao = baseCountryDao;
	}


	/**
	 * 查询所有国家
	 * @Date        :      2016年11月30日
	 * @return
	 */
	@Override
	public List<BaseCountry> queryAllCountry() {
		return baseCountryDao.queryAllCountry();
	}

}
